package chen.yi.component.code.generator.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableField;


/**
 * 元素信息实体类
 * @author huatao
 **/
@Setter
@Getter
@ToString
@TableName("element_info")
public class ElementInfoPO {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 元素名称
     **/
    @TableField(value = "element_name")
    private String elementName;

    /**
     * 元素图标
     **/
    @TableField(value = "element_icon")
    private String elementIcon;

    /**
     * 组件标签
     **/
    @TableField(value = "element_label")
    private String elementLabel;

    /**
     * 元素描述
     **/
    @TableField(value = "element_desc")
    private String elementDesc;

    /**
     * 元素适配终端
     **/
    @TableField(value = "element_terminal")
    private Integer elementTerminal;

    /**
     * 数据状态
     **/
    @TableField(value = "status")
    private String status;

    /**
     * 是否为嵌套组件
     */
    @TableField(value = "nesting_flag")
    private String nestingFlag;

    /**
     * 父级组件id
     */
    @TableField(value = "parent_id")
    private Integer parentId;
}
